/**
  * Author: Mei
  * Date: 2020-12-09 12:57
  * Description: 
  *
  */
#include <vector>
#include <iostream>
#include <bitset>
#include <functional>
#include <algorithm>

using namespace std;
int main() {
    vector<vector<int>> vec;
    vector<vector<int> > vec1;
    //使用nullptr替代0或者NULL
    int *a = nullptr;
    //auto
    auto i = 42;

    auto lam = [](int a) -> int {
        return a + 10;
    };
    function<int(int)> lam1 = [&i](int a) -> int {
        i = 20;
        return a + 10 + i;
    };
    cout << lam1(20)<<endl;
    cout << i << endl;
    auto res = find(vec.begin(), vec.end(), i);


    return 0;
}